<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2025/3/25
  Time: 16:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>
<html>
<head>
    <title>神鹰小店</title>
</head>
<body>
${msg}

<h1>神鹰的货架</h1>
<table border="1">
    <tr>
        <th>商品ID</th>
        <th>商品名</th>
        <th>商品介绍</th>
        <th>商品价格</th>
    </tr>
    <c:forEach var="product" items="${products}">
        <tr>
            <td>${product.id}</td>
            <td>${product.name}</td>
            <td>${product.description}</td>
            <td>${product.price}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
